//------------------------------------------------------------------------------
//
//   Go4Flex 
//   Copyright 2010 
//   All rights reserved. 
//
//------------------------------------------------------------------------------

package com.demi.main.vo
{

	[Bindable]
	public class ConfigVO
	{

		/**
		 * Static method to parse xml data related to Config
		 * @param _xml XML data
		 * @return Config value object
		 *
		 */
		public static function parseXML(_xml:XML):ConfigVO
		{
			var _obj:ConfigVO = new ConfigVO();
			_obj.title = _xml.title[0].toString();
			_obj.copyright = _xml.copyright[0].toString();
			_obj.apiURL = _xml.apiURL[0].toString();
			_obj.layout = _xml.layout[0].toString();

			return _obj;
		}

		public var apiURL:String;
		public var copyright:String;
		public var layout:String;
		public var title:String;
	}
}